@import "variables";
@import "mPreview";
@import "~element-ui/packages/theme-chalk/src/index";

body,html{
  width: 100%;
  height: 100%;
  min-width: 1850px;
  min-height: 920px;
}
*{
  transition: transform .2s,background .2s,color .2s,opacity .2s;
  font-family: "Microsoft Yahei";
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
::-webkit-scrollbar-track-piece { //滚动条凹槽的颜色，还可以设置边框属性
  background-color:#f8f8f8;
}
::-webkit-scrollbar {//滚动条的宽度
  width:9px;
  height:9px;
}
::-webkit-scrollbar-thumb {//滚动条的设置
  background-color:#dddddd;
  background-clip:padding-box;
  min-height:28px;
}
::-webkit-scrollbar-thumb:hover {
  background-color:#bbb;
}
a{
  text-decoration: none;
  color: #333;
  &:hover{
    color: $--color-primary;
  }
}
.no-wrap{
  white-space: pre-wrap;
  word-break: break-all;
}
.ellipsis{
  @include ellipsis;
}
.el-loading-mask{
  background-color: rgba(255, 255, 255, 0.3);
}
.rank{
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  .title{
    color: #8cd1f7;
    font-size: 18px;
    text-align: center;
    margin: 5px 0 5px 0;
  }
  .list{
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 5px 0;
    position: relative;
    .none{
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%,-50%);
      color: #fff;
    }
    .item{
      display: flex;
      .detail{
        width: 50%;
        font-size: 14px;
        padding: 0 0 0 10px;
        display: flex;
        align-items: center;
        .name{
          color: #8cd1f7;
          padding-left: 3px;
          @include ellipsis;
          flex: 1;
        }
        .num{
          color: #e0ac24;
          padding-left: 3px;
        }
      }
    }
  }
  .num-first{
    color: #000000;
    width: 16px;
    height: 16px;
    display: inline-block;
    background: #ff5247;
    border-radius: 50%;
    line-height: 16px;
    text-align: center;
    font-size: 14px;
  }
  .num-second{
    color: #000000;
    width: 16px;
    height: 16px;
    display: inline-block;
    background: #ffa246;
    border-radius: 50%;
    line-height: 16px;
    text-align: center;
    font-size: 14px;
  }
  .num-third{
    color: #000000;
    width: 16px;
    height: 16px;
    display: inline-block;
    background: #fff38f;
    border-radius: 50%;
    line-height: 16px;
    text-align: center;
    font-size: 14px;
  }
}
.ani-up{
  animation: up 1.2s ease 0s infinite;
}
.ani-down{
  animation: down 1.2s ease 0s infinite;
}
@keyframes up {
  0%{
    transform: translate(0,0);
    opacity: .7;
  }
  100%{
    transform: translate(0,-5px);
    opacity: 1;
  }
}
@keyframes down {
  0%{
    transform: translate(0,0);
    opacity: .7;
  }
  100%{
    transform: translate(0,5px);
    opacity: 1;
  }
}
.date-picker{
  background: rgba(9, 44, 99, 0.8);
  color: #fff;
  th{
    color: #f3f3f3;
  }
  td.disabled div{
    color: #999;
    background-color: rgba(9, 44, 99, 1);
  }
  td.in-range div{
    background-color: #8cd1f7;
  }
  .el-picker-panel__icon-btn{
    color: #fff;
  }
  .el-date-picker__header-label{
    color: #fff;
  }
  td .cell{
    color: #fff;
  }
}
.large-right{
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.enlarge .large-close{
  padding: 5px 5px;
  border-bottom-left-radius: 5px;
  display: inline-block;
  font-size: 30px;
  position: absolute;
  top: 0;
  right: 0;
  color: #fff;
  cursor: pointer;
  z-index: 9999999999;
}
.enlarge .large-close:hover{
  background: #db0000;
}
.enlarge{
  display: flex;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 99999999;
  background: rgb(8, 36, 81);
  .large-left{
    flex: 1;
  }
}
